package org.erik.jdk8.study.steam;

/**
 * @author Erik
 * @create 2020-05-18 16:58
 * @description
 **/
public class Person {

        String name;
        int age;
        public Person() {
          super();
        }

        public Person(String name, int age) {
            this.name = name;
            this.age = age;
        }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
        public String toString() {
            return "Name : " + this.name + "; Age : " + this.age;
        }

}
